package com.wk.warehouse.mapper;
import com.wk.warehouse.entity.OutStore;

import java.util.HashMap;
import java.util.List;

public interface OutStoreMapper {
	
	/**
	 * 查询出库单个数
	 */
	public int selectCount(OutStore outStore);
	
	/**
	 * 分页查询
	 */
	public List<OutStore> selectOutStorePage(HashMap<String, Object> map);

	/**
	 * 添加出库单
	 */
	public int addOutstoreRecord(OutStore outStore);

	/**
	 * 修改出库状态为已出库
	 */
	public int updateOutStoreState(int outsId);
	
	/**
	 * 更新商品数量
	 */
	public int updateStoreNum(OutStore outStore);
}

